<%@page contentType="text/html; charset=utf-8"%>
<%@ include file="../inc/TagLibs.jsp"%>
<c:set var="pageTitle" value="付款方式" />
<%@ include file="../inc/Title.jsp"%>
<head>
<link rel="stylesheet" type="text/css" href="/css/base.css" />
<script src="/js/popup_ext.js"></script>
<script language="javascript">
	function doNew(){
		var url="/base/PayModeNew.ihtm";
		ShowIframeNoScroll("付款方式",url,320,260,"refreshWin()");
	}
	function refreshWin(){
		window.location.reload(true);
	}
	function doEdit(id){
		var url="/base/PayModeEdit.ihtm?id="+id;
		ShowIframeNoScroll("付款方式",url,320,260,"refreshWin()");
	}
	function doDelete(id){
		ShowConfirm('确认框','确定删除吗？',340,80,"doDelAct("+id+")");
	}
	function doDelAct(id){
		if(popRetVal!=null){
			window.location="/base/PayModeDelete.ihtm?id="+id;
		}
	}
	function doCancel(){
		window.close();
	}
</script>
</head>
<body oncontextmenu="return false"  class="sheet" style="text-align:center;">
<div class="sheet-main" style="width:360px;text-align:left;margin:auto;">
  <div class="sheet-top">
    <div class="content">
      <h2>付款方式</h2>
      <p>设置业务与采购的付款方式</p>
    </div>
  </div>
  <div class="sheet-list">
    <div class="search-business">
	     <div class="add_content"> 	
	    	 <div align="right"><input type="button" class="buttom search-add" value=" 新 增" onClick="doNew();"></div>
	     </div>
		 <%@include file="../inc/AlertMsg.jsp"%>
	     <div class="table-list">
	        <table width="100%">
	          <tr>
	          		<th width="20%">序号</th>
					<th width="50%">名称</th>
					<th width="30%">操作</th>
				</tr>
				<c:forEach var="item" items="${list}">
				<tr>
					<td>${item.sequenceCode}</td>
					<td>${item.modeName}</td>
					<td>
						<a href="javascript:doEdit('${item.id}');">编辑</a>
						<a href="javascript:doDelete('${item.id}');">删除</a>
					</td>
				</tr>
				</c:forEach>
			</table>
		   </div>  
	   </div>  
  </div>
<div class="blank12"></blank>
</div>
</body>
</html>